package cc.rengu.redp.bizimpl.csmc.dao;

import cc.rengu.redp.bizimpl.csmc.domain.TxnStatis;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author guohaocong
 */
@DS("csmc")
public interface TxnStatisMapper extends BaseMapper<TxnStatis> {


    List<Map> findNoDateTransCounts(@Param("userOrgCode") String userOrgCode, @Param("yestdate") String yestdate);

    List<Map> findDateTransCounts(@Param("userOrgCode") String userOrgCode, @Param("ndaysAgo") String ndaysAgo, @Param("yestdate") String yestdate);
}
